<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
    <f:view contentType="text/html">
        <h:head>
            <link rel="shortcut icon" href="Imagenes/database_mysql.ico" type="image/x-icon"/>
            <title>Terminal</title>
        </h:head>
        <h:body>
            <h:form>           
                <p:dialog widgetVar="dlg" width="1000" height="700" header="Terminal" 
                          resizable="false" visible="true" showEffect="explode" hideEffect="explode" closable="false"> 
                    <p:focus for="terminal" />
                    <p:terminal id="terminal" 
                                prompt="#{terminalBean.user}&gt;" 
                                widgetVar="term" 
                                commandHandler="#{terminalBean.handleCommand}" 
                                welcomeMessage="Terminal MySQL" 
                                style="width: 955px;height: 600px"/>
                     
                </p:dialog>
               
            </h:form>
        </h:body>
    </f:view>
</html>
